{{ partial "header" . }}
{{ partial "nav" . }}
<div class="container">
  <section class="section">
      {{ $paginator := .Paginate (where site.RegularPages "Type" "project") }}
      {{ range sort $paginator.Pages }}
      <article>
        <div class="card">
          <img class="card-img-top" src="{{ .Params.image }}" alt="{{ .Params.title }}">
          <div class="card-block">
            <h1 class="card-title">{{ .Params.title }}</h1>
            {{ if .Params.tags }}
                {{ partial "tags" .Params.tags }}
            {{ end }}
            <p class="card-text">{{ .Params.description }}</p>
            <a href="{{ .Params.website }}" class="card-link">{{ .Params.website }}</a>
            <a href="{{ .Params.repo }}" class="card-link">{{ .Params.repo }}</a>
          </div>
        </div>
      </article>
      {{ end }}
  </section>
</div>
{{ partial "paginate-list" . }}
{{ partial "footer" . }}